package com.jn.erp.web.api.student.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 班级学员表
 * </p>
 *
 * @author wyp
 * @since 2024-09-04
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class TStudentClassRela implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * 主键
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      /**
     * 班级id
     */
      private Long classId;

      /**
     * 学生id
     */
      private Long studentId;


      /**
     * 添加时间
     */
      private LocalDateTime addTime;

      /**
     * 创建人
     */
      private Long creator;

      /**
     * 加入原因
     */
      private Integer reason;

      /**
     * 删除标记
     */
      private Integer deleted;

      /**
     * 备注信息
     */
      private String remark;

      /**
     * 默认消费课程
     */
      private Long consumeCourseId;

    /**
     * 组织id
     */
    private Long orgId;

    private LocalDateTime editTime;


    private Long editor;

  /**
   * 班级id
   */
  @TableField(exist = false)
  private Long classIdNew;

}
